package com.jd.finance.core.pojo.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 银行还款表
 * </p>
 *
 * @author LiQingBo
 * @since 2022-05-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="BRepay对象", description="银行还款表")
public class BRepay implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "还款id")
      @TableId(value = "hk_id", type = IdType.AUTO)
    private Integer hkId;

    @ApiModelProperty(value = "还款日期")
    private LocalDateTime hkDate;

    @ApiModelProperty(value = "预计还款时间")
    private LocalDateTime expTime;

    @ApiModelProperty(value = "已还金额")
    private BigDecimal repayMoney;

    @ApiModelProperty(value = "预计应还金额")
    private BigDecimal expMoney;

    @ApiModelProperty(value = "还款卡号")
    private String cardNo;

    @ApiModelProperty(value = "贷款id")
    private Integer dkId;

    @ApiModelProperty(value = "还款人姓名")
    private String hkUname;

    @ApiModelProperty(value = "还款状态: 0 未还款 1 已还款")
    private Integer hkStatus;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "是否删除")
    @TableField("is_deleted")
    @TableLogic
    private Boolean deleted;


}
